<%@ page contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" isELIgnored="false"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@taglib uri="http://displaytag.sf.net" prefix="display"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<c:set var="empresa" value="${sessionScope.empresa}"/>
	<h3>Lista das Contas IOF</h3>
	<hr/>	
	<label><strong>Empresa: </strong></label><label><c:out value="${empresa.nome}"/></label><br/>
	<label><strong>CNPJ: </strong></label><label><c:out value="${empresa.cnpj}"/></label><br/>
	<hr/>
	<div id="divResultados" class="saldo">
		<display:table name="${requestScope.contas}" requestURI="consultarIOF?acao=ContasIOF" id="tabelaResultados">			
			<display:column class="even" property="credor" paramId="numConta" paramProperty="numConta" href="consultarIOF?acao=LancamentosIOF" style="text-align: center;"/>
			<display:column class="odd" property="saldo" format="{0,number,#,###.##}" style="text-align: center;" />			
		</display:table>
	</div>
</body>
</html>